import request from '@/utils/request'


// 执行AdeLab
export function executeLlmLab(id) {
  return request({
    url: '/ade/llmlab/execute/' + id,
    method: 'put'
  })
}


// 查询Ade LLM Labs列表
export function listLlmlab(query) {
  return request({
    url: '/ade/llmlab/list',
    method: 'get',
    params: query
  })
}

// 查询Ade LLM Labs详细
export function getLlmlab(id) {
  return request({
    url: '/ade/llmlab/' + id,
    method: 'get'
  })
}

// 新增Ade LLM Labs
export function addLlmlab(data) {
  return request({
    url: '/ade/llmlab',
    method: 'post',
    data: data
  })
}

// 修改Ade LLM Labs
export function updateLlmlab(data) {
  return request({
    url: '/ade/llmlab',
    method: 'put',
    data: data
  })
}

// 删除Ade LLM Labs
export function delLlmlab(id) {
  return request({
    url: '/ade/llmlab/' + id,
    method: 'delete'
  })
}
